* {
    box-sizing: border-box;  /* Ensures padding/margins don't cause overflow */
    margin: 0;
    padding: 0;
}



html, body {
    max-width: 100%;
    
}

body{
    background-color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    
}

#navigationMAIN{
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
    margin: 35px 35px 35px 35px;


    z-index:1;
    
    mix-blend-mode: difference;
}



.LISTnavigationMAIN{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    position: -webkit-sticky;
    position: sticky;

    top:0;  
    left: 0;

    z-index: 10;
    padding: 10px 0;


    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    background: none;      
}

#STARTvideo {
    position: relative;
    max-width: calc(300 + (100 - 100) * (100vw - 300px) / (2560 - 300)); /* Full height viewport */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.STARTvideo{
    width: 100vw;
    height: auto;      /* wenn 100vh - vertical video*/
    display: block;
    margin-top: -115px;

    object-fit: cover;
}

.SAS{

    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
    color: white;
    font-size: 6.5vw;
    font-weight: bold;
    mix-blend-mode: difference;
    z-index: 2;
    display: flex;

   

}

.SAS span {
    opacity: 0; /* Start with all letters hidden */
    animation: fadeIn 1s forwards;
    mix-blend-mode: difference; /* Apply the difference blend mode to the text */
}

/* Create a delay for each letter to appear one after another */
.SAS span:nth-child(1) { animation-delay: 0s; }
.SAS span:nth-child(2) { animation-delay: 0.1s; }
.SAS span:nth-child(3) { animation-delay: 0.2s; }
.SAS span:nth-child(4) { animation-delay: 0.3s; }
.SAS span:nth-child(5) { animation-delay: 0.4s; }
.SAS span:nth-child(6) { animation-delay: 0.5s; }
.SAS span:nth-child(7) { animation-delay: 0.6s; }
.SAS span:nth-child(8) { animation-delay: 0.7s; }
.SAS span:nth-child(9) { animation-delay: 0.8s; }
.SAS span:nth-child(10) { animation-delay: 0.9s; }
.SAS span:nth-child(11) { animation-delay: 1s; }
.SAS span:nth-child(12) { animation-delay: 1.1s; }
.SAS span:nth-child(13) { animation-delay: 1.2s; }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


[class*="col-"] {
    height: 100%;
  }
  



main{
    
    text-align: center;
 
    margin: auto;
    padding: 10px;

}

#HZF{
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22pt;
}

.Hochzeitsfilm{
    display: inline-block;
    position: relative;
    overflow: hidden;

    border: 3px solid white;
    border-radius: 55px;

    width: 12%;

    padding: 15px 10px 15px 10px;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 30px;

    transition: 1s;
    transition-duration: 0.8s;
}

.Hochzeitsfilm:hover{
    content: attr(data-hover);

    font-size: 27pt;

    border: 3px solid #1672f6;
    border-radius: 30px;

    width: 15%;

    padding: 20px 10px 20px 10px;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 30px;

    background-color: #1672f6;

  }




p{
    margin: auto;
    text-align: center;

    color: #737379;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
    width: 50%;     


}







@media (max-width: 1200px) {
    #navigationMAIN {
        padding: 5px;
        font-size: 16pt;
        margin: 20px;
    }

    .LISTnavigationMAIN {
        padding: 10px 0;
    }

    .SAS {
        font-size: 8vw;
        top: 25%;
    }
}

@media (max-width: 820px) {
    #navigationMAIN {
        font-size: 14pt;
        margin: 15px;
    }

    .LISTnavigationMAIN {
        flex-direction: row; /* Navigationselemente untereinander anordnen */
        padding: 8px 0;
    }
    #navigationMAIN {
        font-size: 14pt;
        margin: 15px;
    }

    .SAS {
        font-size: 8vw;
        top: 20%;
    }

    .highlightGRID {
        margin: 20px;
    }

    .Hochzeitsfilm{
        display: flex;              /* Align items in a row */
        justify-content: center;    /* Center horizontally */
        align-items: center;        /* Center vertically */
        padding: 10px;

        border: 3px solid white;
        border-radius: 55px;

        writing-mode: horizontal-tb;

        width: 60%;

        padding: 15px 10px 15px 10px;
        margin: 60px 0px 30px 0px;
    
        left: 20%;

        transition: 1s;
        transition-duration: 0.8s;
    }
    
}

@media (max-width: 480px) {
    p{
        width: 100%;
        font-size: 9pt;
    }
    main, p {
        padding: 0 15px;
        text-align: center;
        word-wrap: break-word; 
    }

    #navigationMAIN {
        width: 100%;
        font-size: 12pt;
        margin: 10px;


    }

    .LISTnavigationMAIN {
        padding: 5px 0;

        
    }
    
    .STARTvideo{
        width: 100vw;
        height: 35vh;      /* wenn 100vh - vertical video*/
        display: block;
        margin-top: -115px;
    
        object-fit: cover;
    }

    .SAS {
        font-size: 8vw;
        top: 15%;
        max-width: 80%; /* Adjust logo to fit smaller screens */
        height: auto;
    }


    .Hochzeitsfilm{
        display: flex;              /* Align items in a row */
        justify-content: center;    /* Center horizontally */
        align-items: center;        /* Center vertically */
        padding: 10px;

        border: 3px solid white;
        border-radius: 55px;

        writing-mode: horizontal-tb;

        width: 60%;

        padding: 15px 10px 15px 10px;
        margin: 60px 0px 30px 0px;
    
        left: 20%;

        transition: 1s;
        transition-duration: 0.8s;
    }
 

}

@media (max-width: 479px) {
    p{
        width: 100%;
        font-size: 9pt;
    }
    main, p {
        padding: 0 15px;
        text-align: center;
        word-wrap: break-word; 
    }

    #navigationMAIN {
        width: 100%;
        font-size: 10pt;
        margin: 10px;
    }

    .LISTnavigationMAIN {
        padding: 5px 0;

    
    }
    
    .STARTvideo{
        width: 100vw;
        height: 45vh;      /* wenn 100vh - vertical video*/
        display: block;
        margin-top: -115px;
    
        object-fit: cover;
    }

    .SAS {
        font-size: 8vw;
        top: 20%;
        max-width: 80%; /* Adjust logo to fit smaller screens */
        height: auto;
    }


    .Hochzeitsfilm{
        display: flex;              /* Align items in a row */
        justify-content: center;    /* Center horizontally */
        align-items: center;        /* Center vertically */
        padding: 10px;

        border: 3px solid white;
        border-radius: 55px;

        writing-mode: horizontal-tb;

        width: 60%;

        padding: 15px 10px 15px 10px;
        margin: 60px 0px 30px 0px;
    
        left: 20%;

        transition: 1s;
        transition-duration: 0.8s;
    }

}


@media (max-width: 375px) {
    p{
        width: 100%;
        font-size: 9pt;
    }
    main, p {

        padding: 0 15px;
        text-align: center;
        word-wrap: break-word; 
    }

    #navigationMAIN {
        width: 100%;
        font-size: 8pt;
        margin: 10px;


    }   

    .LISTnavigationMAIN {
        padding: 5px 0;

    
    }
    
    .STARTvideo{
        width: 100%;
        height: 45vh;      /* wenn 100vh - vertical video*/
        display: block;
        margin-top: -115px;

        object-fit: cover;
    }

    .SAS {
        font-size: 8vw;
        top: 20%;
        max-width: 80%; /* Adjust logo to fit smaller screens */
        height: auto;
    }


    .Hochzeitsfilm{
        display: flex;              /* Align items in a row */
        justify-content: center;    /* Center horizontally */
        align-items: center;        /* Center vertically */
        padding: 10px;

        border: 3px solid white;
        border-radius: 55px;

        writing-mode: horizontal-tb;

        width: 60%;

        padding: 15px 10px 15px 10px;
        margin: 60px 0px 30px 0px;
    
        left: 20%;

        transition: 1s;
        transition-duration: 0.8s;
    }


    

}

